import 'package:flutter/material.dart';

class Expansion {
   Expansion({
    required this.headerText,
    required this.body,
    required this.isExpand,
  });
  final String headerText;
  final Widget body;
  late  bool isExpand;
}

// ignore: non_constant_identifier_names
final List<Expansion> Expansions = [
  Expansion(
      headerText: 'ExpansionPanel A',
      body: Container(
        padding: const EdgeInsets.all(16.0),
        width: double.infinity,
        child: const Text('ExpansionPanel 折叠面板A'),
      ),
      isExpand: false),
  Expansion(
      headerText: 'ExpansionPanel B',
      body: Container(
        padding: const EdgeInsets.all(16.0),
        width: double.infinity,
        child: const Text('ExpansionPanel 折叠面板B'),
      ),
      isExpand: false),
  Expansion(
      headerText: 'ExpansionPanel C',
      body: Container(
        padding: const EdgeInsets.all(16.0),
        width: double.infinity,
        child: const Text('ExpansionPanel 折叠面板C'),
      ),
      isExpand: false),
];
